package org.example.command;

import org.example.editor.Editor;

public class ListCommand implements Command{
    private Editor editor;
    public ListCommand(Editor editor){
        this.editor = editor;
    }
    @Override
    public void excute() {
        editor.list();
    }
}
